home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 1.toast / pc / sample code / files / standard file / standardgetfolder / standardgetfolder.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-06-23  |  1.5 KB  |  62 lines

  1. /*
  2.     File:        StandardGetFolder.h
  3.  
  4.     Contains:    Public interfaces for the routines in StandardGetFolder.c
  5.  
  6.     Written by: Andy Bachorski    
  7.  
  8.     Copyright:    Copyright © 1998-1999 by Apple Computer, Inc., All Rights Reserved.
  9.  
  10.                 You may incorporate this Apple sample source code into your program(s) without
  11.                 restriction. This Apple sample source code has been provided "AS IS" and the
  12.                 responsibility for its operation is yours. You are not permitted to redistribute
  13.                 this Apple sample source code as "Apple sample source code" after having made
  14.                 changes. If you're going to re-distribute the source, we require that you make
  15.                 it clear in the source that the code was descended from Apple sample source
  16.                 code, but that you've made changes.
  17.  
  18.     Change History (most recent first):
  19.                 7/1/1999    Karl Groethe         Updated for Metrowerks Codewarror Pro 2.1
  20.                 
  21.  
  22. */
  23. #ifndef _STANDARD_GET_FOLDER_
  24. #define _STANDARD_GET_FOLDER_
  25.  
  26.  
  27.  
  28. //******************    Universal Interfaces        ****************************
  29.  
  30. #include <StandardFile.h>
  31.  
  32. #if PRAGMA_ONCE
  33. #pragma once
  34. #endif
  35.  
  36. #ifdef __cplusplus
  37. extern "C" {
  38. #endif
  39.  
  40. #if PRAGMA_IMPORT
  41. #pragma import on
  42. #endif
  43.  
  44. //******************    Puiblic Prototypes            ****************************
  45.  
  46. pascal    void    StandardGetFolder( FileFilterYDUPP fileFilter, StandardFileReply *theSFR );
  47. pascal    Boolean    OnlyVisibleFoldersCustomFileFilter( CInfoPBPtr myCInfoPBPtr, Ptr dataPtr );
  48.  
  49.  
  50.  
  51. #ifdef PRAGMA_IMPORT_OFF
  52. #pragma import off
  53. #elif PRAGMA_IMPORT
  54. #pragma import reset
  55. #endif
  56.  
  57. #ifdef __cplusplus
  58. }
  59. #endif
  60.  
  61. #endif // _STANDARD_GET_FOLDER_
  62.